package com.abe.signature;


import android.support.multidex.MultiDexApplication;
import android.widget.Toast;

import com.abe.libhttp.utils.BaseHttpUtils;
import com.tencent.smtt.sdk.QbSdk;

public class AbeApplication extends MultiDexApplication {
    public void onCreate() {
        super.onCreate();
        BaseHttpUtils.init(this);
        CrashHandler.getInstance().init(this);
        QbSdk.initX5Environment(this, new QbSdk.PreInitCallback() {
            @Override
            public void onCoreInitFinished() {

            }

            @Override
            public void onViewInitFinished(boolean b) {
                Toast.makeText(getApplicationContext(), "X5:" + b, Toast.LENGTH_SHORT).show();
            }
        });
        QbSdk.setDownloadWithoutWifi(true);
    }
}
